//
//  WBDemoViewController.swift
//  微博
//
//  Created by Mstarc on 2016/11/29.
//  Copyright © 2016年 Mstarc. All rights reserved.
//

import UIKit

class WBDemoViewController: WBBaseController {

    override func viewDidLoad() {
        super.viewDidLoad()

        
        setupUI()
    }
    func showFriend(){
        let vc = WBDemoViewController()
        //push的动作是navigation做的
        navigationController?.pushViewController(vc, animated: true)
    }
   
  

}

//MARK: - 设置界面

extension WBDemoViewController{
    //设置导航栏按钮 正常设置无高亮
    override func setupTabelView() {
        super.setupTabelView()
          navaItem.rightBarButtonItem = UIBarButtonItem(title: "下一个",  target: self, action: #selector(showFriend))
    }
    
   
}
